import { Controller, Get } from '@nestjs/common';

@Controller('products')
export class ProductController {
  @Get()
  getProducts() {
    // 实际业务逻辑
    return productService.findAll();
  }
}
